
import Vue from 'vue'
// 打开进度条
export function progressOpen (message) {
  var data = {
    name: 'zk-progress',
    message: message,
    visible: true
  }
  Vue.prototype.$bus.$emit('autoDialogEvent', data)
}
// 关闭进度条
export function progressClose () {
  var data = {
    name: 'zk-progress',
    message: '',
    visible: false
  }
  Vue.prototype.$bus.$emit('autoDialogEvent', data)
}